package chenji.yourinventory;

import java.util.logging.Level;
import java.util.logging.Logger;

import org.bukkit.plugin.java.JavaPlugin;

import chenji.yourinventory.inventory.InventoryManager;

public class Main extends JavaPlugin {
	private static Logger log;
	private static InventoryManager inventorymanager;

	public void onEnable() {
		this.getLogger().log(Level.INFO, "----------------YourInventory----------------");
		this.getLogger().log(Level.INFO, "插件正在启动中，作者：沉寂");
		Main.log = getLogger();
		Main.inventorymanager = new InventoryManager();

	}

	public static Logger getYLogger() {
		return Main.log;
	}

	public static InventoryManager getInventoryManager() {
		return Main.inventorymanager;
	}
}
